s = 0
for i in range(1,10001):
    s = s + i**(-2)   
print(s)